package com.quickthumb.game;

import javax.microedition.khronos.opengles.GL10;

import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.util.Log;

public abstract class Block implements UpdateAndDraw{

	protected int position;
	public boolean isActive;
	public static float Block_width;
	
	public void setPosition(int position) {
		this.position = position;
	}
	public int getPosition() {
		return position;
	}
	@Override
	public void init() {
		Block.Block_width = Screen.SCREEN_WIDTH * MenuTool.Block_width_RATIO;
		isActive=false;
	}
	
	public abstract void openBlock(int pos);

}
